import Base from "./base";
const api = new Base();
// 下单
export const addOrder = (movieId: string) => api.post(`/movieBuy/buy/${movieId}`);


// 订单列表
export const getOrderList = (data: any) => api.get(`/movieBuy/page`, data);

// 我的订单列表
export const getMyOrder = (data: any) => api.get("/movieBuy/myPage", data);
